import java.io.IOException;
import java.rmi.Remote;
import java.rmi.RemoteException;

public interface RILogic extends Remote {
    public String getAllStudents() 
        throws RemoteException, IOException;

    public String getAllCourses() 
        throws RemoteException, IOException;

    public String getRegisteredStudents(String sCID, String sSection) 
        throws RemoteException, IOException;

    public String getRegisteredCourses(String sSID) 
        throws RemoteException, IOException;

    public String getCompletedCourses(String sSID) 
        throws RemoteException, IOException;

    public String makeARegistration(String sSID, String sCID, String sSection) 
        throws RemoteException, IOException;
    
    public boolean authorizeUser(String sSID, String sSPWD) 
            throws RemoteException, IOException;    
}
